package com.atguigu.gmall.cart.client.impl;

import com.atguigu.gmall.cart.client.CartFeignClient;
import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.model.cart.CartInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author Fxz
 * @version 1.0
 * @date 2022-02-19 13:48
 */
@Component
@SuppressWarnings("all")
@Slf4j
public class CartDegradeFeignClient implements CartFeignClient {

	@Override
	public Result addToCart(Long skuId, Integer skuNum) {
		log.info("活着真没意思");
		return null;
	}

	@Override
	public List<CartInfo> getCartCheckedList(Long userId) {
		return null;
	}

	@Override
	public Result loadCartCache(String userId) {
		return null;
	}

}
